package com.qf.entity;

/**
 * 派对房实体
 */
public class Party {
    //派对房id
    private Integer pId;

    //派对房类型
    private String pType;

    //派对游戏名
    private String pGame;

    //派对房信息
    private String pInfo;

    //派对房状态0关闭，1打开
    private Integer pStatus;
    //派对图片背景
    private String pColor;

    public String getpColor() {
        return pColor;
    }

    public void setpColor(String pColor) {
        this.pColor = pColor;
    }

    //用户关联属性
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column party.p_id
     *
     * @return the value of party.p_id
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public Integer getpId() {
        return pId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column party.p_id
     *
     * @param pId the value for party.p_id
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public void setpId(Integer pId) {
        this.pId = pId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column party.p_type
     *
     * @return the value of party.p_type
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public String getpType() {
        return pType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column party.p_type
     *
     * @param pType the value for party.p_type
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public void setpType(String pType) {
        this.pType = pType == null ? null : pType.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column party.p_game
     *
     * @return the value of party.p_game
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public String getpGame() {
        return pGame;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column party.p_game
     *
     * @param pGame the value for party.p_game
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public void setpGame(String pGame) {
        this.pGame = pGame == null ? null : pGame.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column party.p_info
     *
     * @return the value of party.p_info
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public String getpInfo() {
        return pInfo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column party.p_info
     *
     * @param pInfo the value for party.p_info
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public void setpInfo(String pInfo) {
        this.pInfo = pInfo == null ? null : pInfo.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column party.p_status
     *
     * @return the value of party.p_status
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public Integer getpStatus() {
        return pStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column party.p_status
     *
     * @param pStatus the value for party.p_status
     *
     * @mbggenerated Sat Aug 08 11:13:10 CST 2020
     */
    public void setpStatus(Integer pStatus) {
        this.pStatus = pStatus;
    }
}